package com.hjy.scheduled.solr;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class SolrCacheConfiguration {


    @Value("${spring.data.solr.host}")
    private String host;


    @Bean
    public String getSolrUrl(){
        return host;
    }

}
